package com.example.picturestorage.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

//@Data
//@AllArgsConstructor
//@NoArgsConstructor
@Component
//@Scope("prototype")
public class TypeAndMethod{
    private ThreadLocal<String> type;
    private ThreadLocal<String> method;

    private String type2;
    private String method2;

    public String getType2() {
        return type2;
    }

    public void setType2(String type2) {
        this.type2 = type2;
    }

    public String getMethod2() {
        return method2;
    }

    public void setMethod2(String method2) {
        this.method2 = method2;
    }

    public ThreadLocal<String> getType() {
        return type;
    }

    public void setType(ThreadLocal<String> type) {
        this.type = type;
    }

    public ThreadLocal<String> getMethod() {
        return method;
    }

    public void setMethod(ThreadLocal<String> method) {
        this.method = method;
    }
}
